import request from "@/utills/request";




export const getJobSeekerEdu = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/getJobSeekerEdu",
    data,
  })
}
export const getJobSeekerJobEx = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/getJobSeekerJobEx",
    data,
  })
}
export const ePreAuditJobs = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/ePreAuditJobs",
    data,
  })
}
export const eGetAuditJobs = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/eGetAuditJobs",
    data,
  })
}
export const ePreAuditEnterprise = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/ePreAuditEnterprise",
    data,
  })
}

export const eGetAuditEnterprise = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/eGetAuditEnterprise",
    data,
  })
}

export const getEAvatar = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/getEAvatar",
    responseType: "blob",
    data,
  })
}

export const upEHRInfo = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/upEHRInfo",
    data,
  })
}
export const upEHRPwd = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/upEHRPwd",
    data,
  })
}
export const getEHRInfo = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/getEHRInfo",
    data,
  })
}
export const getEUserResume = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/getEUserResume",
    data,
  })
}
export const upEUserResumeState = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/upEUserResumeState",
    data,
  })
}

export const getEUserApplyJobs = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/getEUserApplyJobs",
    data,
  })
}
export const stopPublishingJob = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/stopPublishingJob",
    data,
  })
}
export const confirmPublishingJob = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/confirmPublishingJob",
    data,
  })
}
export const getAllPublishedJob = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/getAllPublishedJob",
    data,
  })
}
export const getAllPublishingJob = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/getAllPublishingJob",
    data,
  })
}
export const confirmEInfo = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/confirmEInfo",
    data,
  })
}

export const getHRAvatar = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/getHRAvatar",
    responseType: "blob",
    data,
  })
}


export const getEAllInfo = (data: any) => {
  return request({
    method: "POST",
    url: "/api/enterprise/getEAllInfo",
    data,
  })
}

export default {
  getEAllInfo, upEUserResumeState
}